package STUDENT.TRINHQUANGXUANDUC.OPPS.BATGIAC;

public class Models {
	public double Area(BatgiacObject object) {
		return (2 + 4 / Math.sqrt(2)) * object.getSilde() * object.getSilde();
	}

	public double Perimeter(BatgiacObject object) {
		return 8 * object.getSilde();
	}
}
